package com.blueocean_health.care.management.domain.worktablevo;

import com.blueocean_health.care.management.common.excel.ExcelResources;

import java.util.Date;

/**
 * @Author ChenPeng cp
 * @Date 2017/8/25 18:13
 */


public class WorkersVo {

    private String buildingNumberName;
    private String floorName;
    private String bedNumber;
    private Integer workerId;  //主键id
    private String workerName;
    private String orderId;
    private Date startTime;
    private Date endTime;
    private Date stime;
    private Date etime;
    private  Integer id;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Date getStartTime() {
        return startTime;
    }

    public void setStartTime(Date startTime) {
        this.startTime = startTime;
    }

    public Date getEndTime() {
        return endTime;
    }

    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }

    public Date getStime() {
        return stime;
    }

    public void setStime(Date stime) {
        this.stime = stime;
    }

    public Date getEtime() {
        return etime;
    }

    public void setEtime(Date etime) {
        this.etime = etime;
    }

    public String getBuildingNumberName() {
        return buildingNumberName;
    }

    public void setBuildingNumberName(String buildingNumberName) {
        this.buildingNumberName = buildingNumberName;
    }
    public String getFloorName() {
        return floorName;
    }

    public void setFloorName(String floorName) {
        this.floorName = floorName;
    }
    public String getBedNumber() {
        return bedNumber;
    }

    public void setBedNumber(String bedNumber) {
        this.bedNumber = bedNumber;
    }

    public Integer getWorkerId() {
        return workerId;
    }

    public void setWorkerId(Integer workerId) {
        this.workerId = workerId;
    }
    public String getWorkerName() {
        return workerName;
    }

    public void setWorkerName(String workerName) {
        this.workerName = workerName;
    }

    public String getOrderId() {
        return orderId;
    }

    public void setOrderId(String orderId) {
        this.orderId = orderId;
    }

    //重写equals方法，用于list的removeall比较取差集
    @Override
    public boolean equals(Object obj) {
        WorkersVo var2 = (WorkersVo)obj;
        //下面是自定义的比较方法，可以比对一个唯一标识 id
        return var2.getWorkerId() != null && var2.getWorkerId().equals(this.getWorkerId());
    }


}
